package com.qk.management.mapper;

import com.qk.domain.course.CourseDO;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CourseMapper {

    List<CourseDO> selectByPage(CourseDTO courseDTO);

    Course selectById(Integer id);

    void insert(Course course);

    void deleteById(Integer id);

    void updateById(Course course);

    List<Course> selectAll();

    List<Course> selectBySubject(Integer subject);
}
